package com.dg.home

import com.db.home.SliderImage;

class HomeUtility {

	static List<String> getSliderImages() {
		def sliderImageLocations = []
		def sliderImageList = SliderImage.findAll()

		for (sliderImage in sliderImageList) {
			sliderImageLocations.add(sliderImage.getLocation())
		}
		
		return sliderImageLocations
	}
}
